package com.spsy.pay.api;

import com.spsy.common.core.constant.ServiceNameConstants;
import com.spsy.common.core.domain.R;
import com.spsy.common.vo.OrderReq;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author: liuzhiping
 * @date: 2025/1/15 15:08
 **/
@FeignClient(contextId = "spsyPayProvider",value = ServiceNameConstants.FILE_PAY)
public interface SpsyPayProvider {

    @PostMapping("/adfafffff/0r8t9uw349r5ewljklkjwjf/asdhfiaojdfiashidfiahf/ahoqwierbjnifhrkldajaf")
     R payOrder(@RequestParam(name = "orderId") String orderId);

     @PostMapping("/adfafffff/0r8t9uw349r5ewljklkjwjf/asdhfiaojdfiashidfiahf/ahoqwierbjnifhrkldajaf111")
     R payOrder(@RequestBody OrderReq orderReq);

}
